﻿@model IEnumerable<MinistryStandardPlatformEntity.DictionaryType>
@using MinistryStandardPlatformWeb

<script type="text/javascript"  src="~/Scripts/project/dictionary.js"></script>
<script type="text/javascript"  src="~/Scripts/project/dictionary_detail.js"></script>
<script type="text/javascript"  src="~/Scripts/project/systemlog.js"></script>

@Styles.Render("~/Content/themes/project/table.css")
<style type="text/css">
    #top_menu li {
        cursor:pointer;
    }
    ul{
        list-style-type:none;
    }
</style>
<div class="box verticalbox fillparentheight">
    <div id="subNav" class="subNav " style="text-align:right;">
        @if(CommonFunctions.GetLoginUser().HasMenuRight("14"))
        {
            <span id="dictionaryManage" data-href="/Dictionary/Index">字典维护</span>
        }
        @if(CommonFunctions.GetLoginUser().HasMenuRight("14"))
        {
            <span id="systemLog" data-href="/Systemlog/Index">系统日志</span>
        }
        @if(CommonFunctions.GetLoginUser().HasMenuRight("14"))
        {
            <span id="preferencesSetting" data-href="/Presetting/Index">偏好设置</span>
        }
    </div>
    <div id="subContent" class="subContent fillparentheight">
        <div class="box horizontalbox fillparentheight">
            <div class="leftNav fillparentheight boxweight3" style="overflow:auto" >
                通用字典表<br/>
                <ul id="top_menu">
                    @{
                        int i=0;  
                        foreach (var item in Model)
                        {
                            ++i;
                                <li id="@item.DictypeId">@item.DictypeName</li>
                        }
                    }
                </ul>
            </div>
            <div class="rightContent fillparentheight boxweight20" style="overflow:auto">

            </div>
        </div>
    </div>
</div>
